<template>
  <div>
    <tablePaging :tableItem="tableItem" :operationItem="operationItem"/>
  </div>
</template>

<script setup>
import tablePaging from '@/views/common/component/table-paging'
import { onMounted, reactive, ref, watch } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import {
  tableItem,
  operationItem
} from './const.js'
import { ElMessage } from 'element-plus'
const router = useRouter()
const { proxy } = getCurrentInstance();

onMounted(() => {
})

//查看
tableItem.btnArray[0].handle = (row) => {
  if(row.typeCode === 'commissionRate') {
    router.push({
      path: '/system/param/commission',
      query: { typeCode: 'commissionRate' }
    })
  } else if(row.typeCode === 'withdrawalLimit') {
    router.push({
      path: '/system/param/withdraw',
      query: { typeCode: 'withdrawalLimit' }
    })
  } else if(row.typeCode === 'receivingAccount') {
    router.push({
      path: '/system/param/receiving',
      query: { typeCode: 'receivingAccount' }
    })
  }
}
</script>
<style></style>
